package starcoast.bocai.com.starcoast.activitys.movable;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;

import butterknife.Bind;
import butterknife.ButterKnife;
import starcoast.bocai.com.starcoast.R;
import starcoast.bocai.com.starcoast.adapter.SignStaffAdapter;
import starcoast.bocai.com.starcoast.common.BaseActivity;

/**
 * Created by admin on 2016/6/8.
 */
public class DetailActivity extends BaseActivity implements View.OnClickListener{
    @Bind(R.id.movable_sign)
    Button movable_sign;
    @Bind(R.id.linear)
    LinearLayout linear;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_movable_detail);
        ButterKnife.bind(this);
        initToolbar("活动详情");
        initToolBack();
        movable_sign.setOnClickListener(this);
        linear.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.movable_sign:
                startActivity(new Intent(DetailActivity.this,SignUpActivity.class));
                break;
            case R.id.linear:
                startActivity(new Intent(DetailActivity.this,SignStaffActivity.class));
                break;
        }
    }
}
